<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="right">
<tr bgcolor="#EEEEEE" height="30">
  	<td align="left" width="70%">
  		&nbsp;当前位置：考生成绩查询  &gt;&gt;&gt;
  	</td>
  	<td align="right" width="30%">
  		<img src="${path}/image/m_ico1.gif" width="5" height="9">
        &nbsp;当前管理员：${sessionScope.loginManager.name }&nbsp;
  	</td>
</tr>
<tr>
	<td colspan="2">
	<table width="100%">
	<tr align="center" bgcolor="#A8D8FC"  height="30">
 		<td width="20%" height="27" bgcolor="#B2D6F1">准考证号</td>
		<td width="20%" bgcolor="#B2D6F1">所属课程</td>
		<td width="22%" bgcolor="#B2D6F1">考试时间</td>
		<td width="9%" bgcolor="#B2D6F1">单选题</td>
		<td width="9%" bgcolor="#B2D6F1">多选题</td>
	    <td width="9%" bgcolor="#B2D6F1">合计</td>
	    <td width="9%">操作</td>
	</tr>
	<c:forEach items="${results}" var="r">
	<tr height="30">
   		<td>${r.student.id }</td>
   		<td>${r.paper.lesson.name }</td>
   		<td>${r.joinTime }</td>
   		<td>${r.resSingle }</td>
   		<td>${r.resMore }</td>
   		<td>${r.resTotal }</td>
   		<td><a href="deleteResult.do?id=${r.id }" 
   				onclick="return confirm('确定删除该成绩吗？')">
   			<img src="${path }/image/delete.jpg" border="0"
   				width="18" height="18">
   			</a>
   		</td>
	</tr>
	</c:forEach>
	</table>
	</td>
</tr>

</table>
</body>
</html>